#ifndef CCSERVERCONTRALLER_H
#define CCSERVERCONTRALLER_H
#include "H264Capture.h"
#include "CCStreamServer.h"


class CCserverContraller{

public:
    CCserverContraller();
    ~CCserverContraller();
    void startCapturevideo();



private:
    void initVideoCapture();
    void unInitVideoVapture();
    void RunVideoCapture();
    static void startCaptureDetach(long long num);
    static void exitServerSignalEmit(int num);

private:
    CCStreamServer* m_TcpServer;
    IOTC_Camera* m_cam;
    static bool m_bServerRunning;

};
















#endif